from scrapy.cmdline import execute

execute("scrapy crawl maoyan".split())
# JSON导出 -o 后面是导出文件名，-t 后面是导出类型
# execute("scrapy crawl qidian -o qidian.json -t json  ".split())
# CSV导出 -o 后面是导出文件名，-t 后面是导出类型
# execute("scrapy crawl qidian -o qidian.csv -t csv  ".split())
